package com.leonardo.lengthexample;

import com.leonardo.beanme.fields.impl.DefaultInput;

public class LengthedInputField extends DefaultInput implements InputWithLength {

	public int getLength() {
		if(getValue() == null)
			return 0;
		return getValue().toString().length();
	}

}
